<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://"
            + request.getServerName() + ":" + request.getServerPort()
            + path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">

		<title>My JSP 'play.jsp' starting page</title>

		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

	</head>

	<body>
		<a href="rtsp://10.17.24.152:554/ondemand.rm">Click here to listen to my CD</a>
		<br>
		<!-- <object ID="video2" CLASSID="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" HEIGHT="340" WIDTH="450">
			<param name="_ExtentX" value="11906">
			<param name="_ExtentY" value="8996">
			<param name="AUTOSTART" value="-1">
			<param name="SHUFFLE" value="0">
			<param name="PREFETCH" value="0">
			<param name="NOLABELS" value="0">
			<param name="SRC" value="a.avi">
			<param name="CONTROLS" value="ImageWindow">
			<param name="CONSOLE" value="Clip1">
			<param name="LOOP" value="0">
			<param name="NUMLOOP" value="0">
			<param name="CENTER" value="0">
			<param name="MAINTAINASPECT" value="0">
			<param name="BACKGROUNDCOLOR" value="#000000">
			<embed SRC="a.avi type="audio/x-pn-realaudio-plugin" CONSOLE="Clip1"
				CONTROLS="ImageWindow" HEIGHT="240" WIDTH="352" AUTOSTART="false">
		</object>
		<object id="video" width="400" height="200" border="0"
			classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA">

			<param name="ShowDisplay" value="0">

			<param name="ShowControls" value="1">

			<param name="AutoStart" value="1">

			<param name="AutoRewind" value="0">

			<param name="PlayCount" value="0">

			<param name="Appearance value=" 0 value=""">

			<param name="BorderStyle value=" 0 value=""">

			<param name="MovieWindowHeight" value="240">

			<param name="MovieWindowWidth" value="320">

			<param name="FileName" value="a.avi">

			<embed width="400" height="200" border="0" showdisplay="0"
				showcontrols="1" autostart="1" autorewind="0" playcount="0"
				moviewindowheight="240" moviewindowwidth="320"
				filename="a.avi" src="a.avi">
			</embed>

		</object>
		<object id="video" width="400" height="200" border="0"
			classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA">
			<param name="ShowDisplay" value="0">
			<param name="ShowControls" value="1">
			<param name="AutoStart" value="1">
			<param name="AutoRewind" value="0">
			<param name="PlayCount" value="0">
			<param name="Appearance value="0 value=""">
			<param name="BorderStyle value="0 value=""">
			<param name="MovieWindowHeight" value="240">
			<param name="MovieWindowWidth" value="320">
			<param name="FileName" value="a.avi">
			<embed width="400" height="200" border="0" showdisplay="0"
				showcontrols="1" autostart="1" autorewind="0" playcount="0"
				moviewindowheight="240" moviewindowwidth="320"
				filename="a.avi" src="a.avi"
				mce_src="a.avi">
			</embed>
		</object> -->
		<object align=middle
			classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" class=OBJECT
			id=MediaPlayer width=400 height=400>
			<param name=ShowStatusBar value=0>
			<param name=Filename value="../video/b.wmv">
			<embed type=application/x-oleobject
				codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701">
			</embed>
		</object>
		
		<object id="player" height="64" width="260"
			classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6">
			<param NAME="AutoStart" VALUE="-1">
			<!--是否自动播放-->
			<param NAME="Balance" VALUE="0">
			<!--调整左右声道平衡,同上面旧播放器代码-->
			<param name="enabled" value="-1">
			<!--播放器是否可人为控制-->
			<param NAME="EnableContextMenu" VALUE="-1">
			<!--是否启用上下文菜单-->
			<param NAME="url" value="../video/a.avi">
			<!--播放的文件地址-->
			<param NAME="PlayCount" VALUE="1">
			<!--播放次数控制,为整数-->
			<param name="rate" value="1">
			<!--播放速率控制,1为正常,允许小数,1.0-2.0-->
			<param name="currentPosition" value="0">
			<!--控件设置:当前位置-->
			<param name="currentMarker" value="0">
			<!--控件设置:当前标记-->
			<param name="defaultFrame" value="">
			<!--显示默认框架-->
			<param name="invokeURLs" value="0">
			<!--脚本命令设置:是否调用URL-->
			<param name="baseURL" value="">
			<!--脚本命令设置:被调用的URL-->
			<param name="stretchToFit" value="0">
			<!--是否按比例伸展-->
			<param name="volume" value="50">
			<!--默认声音大小0%-100%,50则为50%-->
			<param name="mute" value="0">
			<!--是否静音-->
			<param name="uiMode" value="mini">
			<!--播放器显示模式:Full显示全部;mini最简化;None不显示播放控制,只显示视频窗口;invisible全部不显示-->
			<param name="windowlessVideo" value="0">
			<!--如果是0可以允许全屏,否则只能在窗口中查看-->
			<param name="fullScreen" value="0">
			<!--开始播放是否自动全屏-->
			<param name="enableErrorDialogs" value="-1">
			<!--是否启用错误提示报告-->
			<param name="SAMIStyle" value>
			<!--SAMI样式-->
			<param name="SAMILang" value>
			<!--SAMI语言-->
			<param name="SAMIFilename" value>
			<!--字幕ID-->
		</object>
		<br/>
		<object id="vid" classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA"
			width=427 height=300>
			<param name="_ExtentX" value="11298">
			<param name="_ExtentY" value="7938">
			<param name="AUTOSTART" value="-1">
			<param name="SHUFFLE" value="0">
			<param name="PREFETCH" value="0">
			<param name="NOLABELS" value="-1">
			<param name="SRC" value="rtsp://10.17.24.163:554/ondemand.rm"";>
			<param name="CONTROLS" value="Imagewindow">
			<param name="CONSOLE" value="clip1">
			<param name="LOOP" value="0">
			<param name="NUMLOOP" value="0">
			<param name="CENTER" value="0">
			<param name="MAINTAINASPECT" value="0">
			<param name="BACKGROUNDCOLOR" value="#000000">
		</object>
		<br/>
		<object id="vid2" classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA"
			width=427 height=30>
			<param name="_ExtentX" value="11298">
			<param name="_ExtentY" value="794">
			<param name="AUTOSTART" value="-1">
			<param name="SHUFFLE" value="0">
			<param name="PREFETCH" value="0">
			<param name="NOLABELS" value="-1">
			<param name="SRC" value="rtsp://10.17.24.163:554/ondemand.rm"";>
			<param name="CONTROLS" value="ControlPanel">
			<param name="CONSOLE" value="clip1">
			<param name="LOOP" value="0">
			<param name="NUMLOOP" value="0">
			<param name="CENTER" value="0">
			<param name="MAINTAINASPECT" value="0">
			<param name="BACKGROUNDCOLOR" value="#000000">
		</object>
	</body>
</html>
